<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form method="post" action="/postTime">
        <input type="date" name="localtime"/>
        <input type="submit"/>
    </form>

</body>
</html>